package com.nbsaas.boot.customer.api.domain.request;

import com.nbsaas.boot.rest.filter.Operator;
import com.nbsaas.boot.rest.filter.Search;
import com.nbsaas.boot.rest.request.PageRequest;
import lombok.*;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
* 搜索bean
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CustomerAddressSearch   extends PageRequest implements Serializable {

/**
* 序列化参数
*/
private static final long serialVersionUID = 1L;


    @Search(name = "province.id",operator = Operator.eq)
    private Long province;

    @Search(name = "city.id",operator = Operator.eq)
    private Long city;

    @Search(name = "area.id",operator = Operator.eq)
    private Long area;

    @Search(name = "customer.id",operator = Operator.eq)
    private Long customer;


            /**
            * 备注
            **/
            @Search(name = "note",operator = Operator.like)
            private String note;

            /**
            * 详细地址
            **/
            @Search(name = "address",operator = Operator.like)
            private String address;

            /**
            * 邮编
            **/
            @Search(name = "postalCode",operator = Operator.like)
            private String postalCode;

            /**
            * 标签
            **/
            @Search(name = "label",operator = Operator.like)
            private String label;

            /**
            * 手机号码
            **/
            @Search(name = "phone",operator = Operator.like)
            private String phone;

            /**
            * 收货人姓名
            **/
            @Search(name = "name",operator = Operator.like)
            private String name;

            /**
            * 门牌号
            **/
            @Search(name = "houseNo",operator = Operator.like)
            private String houseNo;

            /**
            * 座机号码
            **/
            @Search(name = "tel",operator = Operator.like)
            private String tel;

            /**
            * 主键id
            **/
            @Search(name = "id",operator = Operator.eq)
            private Long id;



}